package com.luozongyao.statistics.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author luozongyao
 * @since 2021-11-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Statistic对象", description="")
public class Statistic implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "统计Id")
    @TableId(value = "statistic_id", type = IdType.AUTO)
    private Integer statisticId;

    @ApiModelProperty(value = "统计日期")
    private String statisticDate;

    @ApiModelProperty(value = "注册人数")
    private Integer statisticRegisterNum;

    @ApiModelProperty(value = "登录人数")
    private Integer statisticLoginNum;

    @ApiModelProperty(value = "视频发布数")
    private Integer statisticVideoPublish;

    @ApiModelProperty(value = "被举报用户数")
    private Integer statisticReportedUser;

    @ApiModelProperty(value = "被举报视频数")
    private Integer statisticReportedVideo;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;


}
